package com.heroCW.bodhiAttic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heroCW.bodhiAttic.entity.AddressBook;

import java.util.List;


public interface AddressBookService extends IService<AddressBook> {

    // 新增地址信息
    Boolean saveAddressBook(AddressBook addressBook);

    // 获取所有地址信息
    List<AddressBook> getList(AddressBook addressBook);

    // 获取默认地址信息
    AddressBook getDefault();

    // 修改默认地址信息
    Boolean setDefault(AddressBook addressBook);
}
